package auth

import (
	"GoScaffoldDemo/config"
	"GoScaffoldDemo/utils/logsutil"

	"github.com/gin-gonic/gin"
)

func Logout(c *gin.Context) {
	//得到返回对象
	returndata := config.NewReturnData()
	returndata.Message = "退出成功"
	returndata.Status = 200
	c.JSON(returndata.Status, returndata)
	logsutil.Debug(nil, "用户退出")
}
